home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / Chip 11-96.iso / treiber / drucker / hp / lj6mp / windows / lj6 / disk1 / 6d1.exe / SUPPORT.IN_ / SUPPORT.IN
Text File  |  1996-04-11  |  4KB  |  105 lines

  1. '$IFNDEF SUPPORT_INCLUDED
  2. '$DEFINE SUPPORT_INCLUDED
  3.  
  4. CONST MAX_PATH     =      260
  5. CONST MAX_PORT     =       100     '' Guess only
  6. CONST MAX_DEVICE_MODEL =   100     '' Guess only
  7. CONST MAX_DRIVE =   3
  8.  
  9. CONST IM_COMPLETE  =  0
  10. CONST IM_CUSTOM    =      1
  11. CONST IM_NETADMIN  =  2
  12.  
  13. CONST IT_STANDALONE=  0
  14. CONST IT_NETWORK   =  1
  15.  
  16. '' make sure these numbers match the ones in the infoerr.h file
  17. CONST c_iDO_NET_ADMIN = 13
  18.  
  19. TYPE RUNTIME
  20.     iInstallMethod as integer
  21.     lpszPort as Pointer TO STRING * MAX_PORT
  22.     bHasBidi as integer
  23.     lpszDeviceID as Pointer TO STRING * MAX_DEVICE_MODEL   '' Device on port (maybe null string)
  24.     lpszPrinterName as Pointer TO STRING * MAX_DEVICE_MODEL '' Name of the printer
  25.     bReboot  as integer
  26. END TYPE
  27.  
  28. TYPE ENVIRONMENT
  29.     iOSMajor as integer
  30.     iOSMinor as integer
  31.     iOSIsNT as integer
  32.     szTempDir as pointer to STRING * MAX_PATH
  33.     szWindowsDir as pointer TO STRING * MAX_PATH
  34.     szSystemDir as pointer to STRING * MAX_PATH
  35.     szWindowsDrive as pointer to STRING * MAX_DRIVE
  36.     szSystemDrive as pointer to STRING * MAX_DRIVE
  37.     iDisplayX as integer
  38.     iDisplayY as integer
  39.     iInstallType  as integer
  40.     runTime as RUNTIME
  41. END TYPE
  42.  
  43. '' Make sure these numbers match the ones in the vercheck.cpp file
  44. const   c_iVERSION_1_NEWER%         = 100
  45. const   c_iVERSION_1_NOT_FOUND%     = 101
  46. const   c_iVERSION_1_2_SAME%        = 200
  47. const   c_iVERSION_1_2_NOT_FOUND%   = 201
  48. const   c_iVERSION_1_2_NO_VERSION%  = 202
  49. const   c_iVERSION_2_NEWER%         = 300
  50. const   c_iVERSION_2_NOT_FOUND%     = 301
  51.  
  52.  
  53. declare function GetInstallEnvironment lib "support.dll" () as pointer to ENVIRONMENT
  54. declare function FormatNumber lib "support.dll" ( dwNumber as long, iBufLen as integer, lpszBuf as string, lpszThousands as string ) as integer
  55. declare function FixMainWindow lib "support.dll" ( hWndFrame as integer ) as integer
  56.  
  57. declare function ReadAllFileGroups lib "support.dll" () as integer
  58. declare function CleanTempDir lib "support.dll" (szDir$) as integer
  59.  
  60. ''$IFDEF LOG_PROTO
  61. declare function GetSystemLogFile lib "support.dll" () as integer
  62. ''$ENDIF
  63.  
  64. declare function ExpandFile lib "support.dll" (szSrcFile$, szDestFile$) as integer
  65. declare function FileVersionCompare lib "support.dll" (szSrcFile$, szDestFile$, ipSucces as pointer to integer) as integer
  66.  
  67. declare function IsSupportedPrinterAttached lib "support.dll" (ipCount as pointer to integer) as integer
  68. DECLARE FUNCTION CheckSound LIB "SUPPORT.DLL" () AS INTEGER
  69.  
  70. declare function SetSelectionsForPrinter lib "support.dll" () as integer
  71.  
  72. DECLARE FUNCTION Begin3d LIB "SUPPORT.DLL" (HANDLE%) AS INTEGER
  73. DECLARE FUNCTION End3d LIB "SUPPORT.DLL" (HANDLE%) AS INTEGER
  74.  
  75. declare function ReplaceProgmanItem lib "support.dll" ( lpszOldName$, lpszCmdLine$, lpszNewName$, lpszExtra$ ) as integer
  76. declare function DeleteProgmanGroup lib "support.dll" ( lpszGroupName$ ) as integer
  77. declare function ReloadProgmanGroup lib "support.dll" ( lpszGroupName$ ) as integer
  78. declare function DeleteProgmanItem lib "support.dll" ( lpszItemName$ ) as integer
  79. declare function Initialize lib "support.dll"  () as integer
  80. declare function Cleanup lib "support.dll" () as integer
  81.  
  82. declare function IsCurrentPrinterPostScript lib "support.dll" () as integer
  83.  
  84. declare function BidiReady lib "support.dll" () as long
  85. declare function CheckBidi lib "support.dll" () as integer
  86. declare function IsNetworked lib "support.dll" () as integer
  87.  
  88. declare function ReadInfoFile lib "support.dll" (iProcessor%) as integer
  89. declare function ReleaseInfoFile lib "support.dll" () as integer
  90.  
  91. declare function Copy32BitFiles lib "support.dll" () as integer
  92.  
  93. declare function TestBidi lib "support.dll" (lpszPort as any) as integer
  94.  
  95. declare function IsPrinterSupported lib "support.dll" ( lpszPrinterID$  ) as integer
  96. declare function GetPrinterCount lib "support.dll" () as integer
  97.  
  98. declare function IsComponentSelected lib "support.dll" (lpszTitle$) as integer
  99. declare function PutComponentsInCopyList lib "support.dll" (lpszSection$, lpszComponent$) as integer
  100. declare function IniActionUpdate lib "support.dll" () as integer
  101. declare function GetComponentDir lib "support.dll" (lpszCompSectionName$, lpszDir$) as integer
  102.  
  103. declare function AnyComponentsSelected lib "support.dll" () as integer
  104. '$ENDIF
  105.